//
//  HomePageTableViewCell.h
//  YHYRealx
//
//  Created by yanghuiyan on 16/4/19.
//  Copyright © 2016年 yanghuiyan. All rights reserved.
//

#import "YHYBaseTableViewCell.h"
#import "YHYBaseLabel.h"
#import "HomePageDataModel.h"

//@protocol HomePageTableViewCellDelegate <NSObject>
//
//- (void)shareAction;
//
//@end

@interface HomePageTableViewCell : YHYBaseTableViewCell

@property (nonatomic, retain) UIImageView *bacImageView;

@property (nonatomic, retain) YHYBaseLabel *writerLabel;

@property (nonatomic, retain) YHYBaseLabel *timeLabel;

@property (nonatomic, retain) YHYBaseLabel *volLabel;

@property (nonatomic, retain) YHYBaseLabel *dataLabel;

@property (nonatomic, retain) YHYBaseLabel *stringLabel;

@property (nonatomic, retain) UIButton *favoriteButton;

@property (nonatomic, retain) UIButton *shareButton;

@property (nonatomic, assign) CGFloat labelHeight;

@property (nonatomic, retain) HomePageDataModel *dataModel;

@property (nonatomic, assign) BOOL isHave;

//@property (nonatomic, retain) id<HomePageTableViewCellDelegate>delegate;

+ (CGFloat)heightWithText:(NSString *)str;

@end
